package net.xdclass.service;

import com.baomidou.mybatisplus.extension.service.IService;
import net.xdclass.model.ProductDO;
import net.xdclass.request.LockProductRequest;
import net.xdclass.vo.ProductVo;

import java.util.HashMap;
import java.util.List;
import java.util.concurrent.atomic.AtomicReference;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 孙浩
 * @since 2022-04-24
 */
public interface ProductService{

  AtomicReference<HashMap<String, Object>> page(Integer page, Integer size);

  ProductVo detail(String productId);

  void lockProducts(LockProductRequest lockProductRequest);


}
